<div class="input-container">
  <input type="text" placeholder="First Name" #inputEl>
  <br><br>
  <input type="text" placeholder="Middle Name" #inputEl>
  <br><br>
  <input type="text" placeholder="Last Name" #inputEl>
  <button (click) ="show()">Show Full Name</button>
  <h3>{{ fullName }}</h3>
</div>
